package com.lyc.springbootmpdemo.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author lyc
 * @since 2024-10-20
 */
@RestController
@RequestMapping("/user")
@Api( tags = "用户接口")
public class UserController {
    /**
     * 测试接口
     * @return
     */
    @GetMapping("/test")
    @ApiOperation(value ="测试接口")
    public String test(){
        return "hello";
    }


}
